Skip to content

hal: renesas: rx: Add HAL support for Renesas RX26T #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

quytranpzz
Copy link
Contributor

@quytranpzz quytranpzz commented Jul 23, 2025

Add HAL support for RX26T using RDP

Signed-off-by: Hau Ho <[email protected]>
Signed-off-by: Phi Tran <[email protected]>
@quytranpzz quytranpzz force-pushed the rx_zephyr_support_soc_rx26t branch from b83b211 to bfa3135 Compare August 7, 2025 08:54
Comment on lines +42 to +43
#include "r_bsp_cpu.h"
#include "mcu_clocks.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quytranpzz: It seems that lacked of include for r_bsp_locking.h?

Comment on lines +48 to +49
#include "mcu/rx26t/mcu_mapped_interrupts_private.h"
#include "mcu/rx26t/mcu_mapped_interrupts.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quytranpzz : Why we need full path for these includes?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect DISCLAIMER.

#endif

/* Set PLL Multiplier. */
SYSTEM.PLLCR.BIT.STC = ((uint8_t)((float)BSP_CFG_PLL_MUL * 2.0f)) - 1;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Different from RDPv1.47. Please separate your update for Zephyr into one commit and record it in the readme file.

error = (((float)pclk / ((baud * divisor) * tmp)) - 1) * 100;
abs_error = (error < 0) ? (-error) : error;

if ((abs_error <= 1.0f) || (SCI_MODE_ASYNC != hdl->mode))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Different from RDPv1.47.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants